package com.winning.ds.common.service.impl;

import com.winning.ds.common.config.multiDatasource.DataSource;
import com.winning.ds.common.dao.SysEsbGzbDao;
import com.winning.ds.common.entity.SysEsbGzbEntity;
import com.winning.ds.common.service.SysEsbGzbService;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description:
 *
 * @author yanxf@winning.com.cn
 * @date 2020/09/22 14:03
 */
@Service
public class SysEsbGzbServiceImpl implements SysEsbGzbService {

  @Autowired
  private SysEsbGzbDao sysEsbGzbDao;

  @DataSource(DataSource.index)
  @Override
  public List<SysEsbGzbEntity> SelectByMap(Map<String, Object> params) {
    return sysEsbGzbDao.selectByMap(params);
  }

}
